<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <base target="_blank">
    <!-- CodeMirror主文件 -->
    <link rel="stylesheet" href="/application/Viditor/lib/codemirror-5.59.1/lib/codemirror.css">
    <script src="/application/Viditor/lib/codemirror-5.59.1/lib/codemirror.js"></script>
    <!-- 代码模式 -->
    <script src="/application/Viditor/lib/codemirror-5.59.1/mode/javascript/javascript.js"></script>
    <script src="/application/Viditor/lib/codemirror-5.59.1/mode/xml/xml.js"></script>
    <script src="/application/Viditor/lib/codemirror-5.59.1/mode/htmlmixed/htmlmixed.js"></script>
    <script src="/application/Viditor/lib/codemirror-5.59.1/mode/css/css.js"></script>
    <script src="/application/Viditor/lib/codemirror-5.59.1/mode/markdown/markdown.js"></script>
    <!-- 颜色主题 -->
    <link rel="stylesheet" href="/application/Viditor/lib/codemirror-5.59.1/theme/dracula.css">
    <!-- 滚动条 -->
    <link rel="stylesheet" href="/application/Viditor/lib/codemirror-5.59.1/addon/scroll/simplescrollbars.css">
    <script src="/application/Viditor/lib/codemirror-5.59.1/addon/scroll/simplescrollbars.js"></script>
    <script src="/application/Viditor/lib/codemirror-5.59.1/addon/scroll/annotatescrollbar.js"></script>

    <!-- Vim快捷键 -->
    <script src="/application/Viditor/lib/codemirror-5.59.1/keymap/vim.js"></script>
    <!-- dialog -->
    <link rel="stylesheet" href="/application/Viditor/lib/codemirror-5.59.1/addon/dialog/dialog.css">
    <script src="/application/Viditor/lib/codemirror-5.59.1/addon/dialog/dialog.js"></script>
    <!-- 搜索(/) -->
    <script src="/application/Viditor/lib/codemirror-5.59.1/addon/search/match-highlighter.js"></script>
    <script src="/application/Viditor/lib/codemirror-5.59.1/addon/search/search.js"></script>
    <script src="/application/Viditor/lib/codemirror-5.59.1/addon/search/searchcursor.js"></script>
    <link rel="stylesheet" href="/application/Viditor/lib/codemirror-5.59.1/addon/search/matchesonscrollbar.css">
    <script src="/application/Viditor/lib/codemirror-5.59.1/addon/search/matchesonscrollbar.js"></script>
    <script src="/application/Viditor/lib/codemirror-5.59.1/addon/search/jump-to-line.js"></script>

    <!-- 闭合括号 -->
    <script src="/application/Viditor/lib/codemirror-5.59.1/addon/edit/closebrackets.js"></script>
    <!-- 注释当前行(Ctrl + /) -->
    <script src="/application/Viditor/lib/codemirror-5.59.1/addon/comment/comment.js"></script>
    <!-- 当前行高亮显示 -->
    <script src="/application/Viditor/lib/codemirror-5.59.1/addon/selection/active-line.js"></script>
    <!-- Emmet插件 -->
    <script src="/application/Viditor/lib/emmet.js"></script>
    <!-- markdown解析器 -->
    <script src="/application/Viditor/lib/marked.min.js"></script>
    <!-- 代码预览高亮 -->
    <link rel="stylesheet" href="/application/Viditor/lib/highlight/vm.css">
    <link rel="stylesheet" type="text/css" href="/application/Viditor/lib/codemirror-5.59.1/theme/github-markdown.css">
    <script src="/application/Viditor/lib/highlight/highlight.min.js"></script>

    <link rel="stylesheet" href="/application/Viditor/css/main.css">
    <link rel="shortcut icon" href="/application/Viditor/images/editor.png">
</head>

<body>
    <main>
        <textarea id="content"></textarea>
    </main>

    <nav>
        <ul>
            <li class="fl" id="vimStatus">NORMAL</li>
            <li class="fr" id="docType">
                <span>Plain</span>
                <ul id="typeList">
                    <li>Plain</li>
                    <li>Markdown</li>
                    <li>HTML</li>
                    <li>CSS</li>
                    <li>JavaScript</li>
                </ul>
            </li>
            <li class="fr" id="saveFile">
                <span>保存</span>
            </li>
            <li class="fr" id="createFile">
                <span>新建</span>
            </li>
            <input id="inputBox" autocomplete="off" type="text">
        </ul>
    </nav>

    <script src="/application/Viditor/js/main.js" type="module"></script>
</body>

</html>